package com.htj.powerbank.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.htj.powerbank.entity.Bank;
import com.htj.powerbank.mapper.BankMapper;
import com.htj.powerbank.service.BankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class BankServiceImpl implements BankService {

    @Autowired
    BankMapper bankMapper;

    @Override
    public IPage<Bank> getBankList(Page<Bank> page,Bank bank,Boolean isDesc) {
        return bankMapper.selectBankList(page,bank,isDesc);
    }
}
